package com.kestrel.space.core.service;

import com.kestrel.space.common.utils.LargePage;
import com.kestrel.space.core.model.Comment;
import com.kestrel.space.core.query.CommentQuery;

import java.util.List;

/**
 * @author yebolin
 * @date 2024/8/23
 */
public interface CommentService {
    List<Comment> listContent(CommentQuery query, LargePage page);

    String saveOrUpdate(Comment comment);

    String batchSaveOrUpdate(List<Comment> commentList);
}
